home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1996 September / JCSM Shareware Collection (JCS Distribution) (September 1996).ISO / lottoprg / slotto21.zip / MOREROOM.BAT < prev    next >
DOS Batch File  |  1994-01-01  |  2KB  |  91 lines

  1. cls
  2. echo off
  3. cls
  4. if '%1' =='' goto nogood
  5. if %1 == 3 goto delete3
  6. if %1 == 4 goto delete4
  7. if %1 == 5 goto delete5
  8. if %1 == 6 goto delete6
  9. if %1 == 7 goto delete7
  10. goto nogood
  11.  
  12. :DELETE3
  13. cls
  14. echo You are about to delete the 3-DIGIT PROGRAM!
  15. echo Make sure you are using a copy and NOT the original program disk!
  16. echo If you DO NOT want to go on press [CTRL] [BREAK] now...otherwise
  17. Pause
  18. DEL LOTTERY3.ADD
  19. DEL LOTTERY3.CAL
  20. DEL LOTTERY3.DEL
  21. DEL NUMTHREE.DAT
  22. GOTO DONE
  23.  
  24. :DELETE4
  25. cls
  26. echo You are about to delete the 4-DIGIT PROGRAM!
  27. echo Make sure you are using a copy and NOT the original program disk!
  28. echo If you DO NOT want to go on press [CTRL] [BREAK] now...otherwise
  29. Pause
  30. DEL LOTTERY4.ADD
  31. DEL LOTTERY4.CAL
  32. DEL LOTTERY4.DEL
  33. DEL NUMFOUR.DAT
  34. GOTO DONE
  35.  
  36. :DELETE5
  37. cls
  38. echo You are about to delete the 5-DIGIT PROGRAM!
  39. echo Make sure you are using a copy and NOT the original program disk!
  40. echo If you DO NOT want to go on press [CTRL] [BREAK] now...otherwise
  41. Pause
  42. DEL LOTTERY5.ADD
  43. DEL LOTTERY5.CAL
  44. DEL LOTTERY5.DEL
  45. DEL NUMFIVE.DAT
  46. GOTO DONE
  47.  
  48. :DELETE6
  49. cls
  50. echo You are about to delete the 6-DIGIT PROGRAM!
  51. echo Make sure you are using a copy and NOT the original program disk!
  52. echo If you DO NOT want to go on press [CTRL] [BREAK] now...otherwise
  53. Pause
  54. DEL LOTTERY6.ADD
  55. DEL LOTTERY6.CAL
  56. DEL LOTTERY6.DEL
  57. DEL NUMSIX.DAT
  58. GOTO DONE
  59.  
  60. :DELETE7
  61. cls
  62. echo You are about to delete the 7-DIGIT PROGRAM!
  63. echo Make sure you are using a copy and NOT the original program disk!
  64. echo If you DO NOT want to go on press [CTRL] [BREAK] now...otherwise
  65. Pause
  66. DEL LOTTERY7.ADD
  67. DEL LOTTERY7.CAL
  68. DEL LOTTERY7.DEL
  69. DEL NUMSEVEN.DAT
  70. GOTO DONE
  71.  
  72. :NOGOOD
  73. CLS
  74. ECHO OFF
  75. CLS
  76. ECHO * To implement this file, type: MOREROOM FILE-NUMBER
  77. ECHO *
  78. ECHO * whereas FILE-NUMBER = 3 (for 3-digit program)
  79. ECHO *                       4 (for 4-digit program)
  80. ECHO *                       5 (for 5-digit program)
  81. ECHO *                       6 (for 6-digit program)
  82. ECHO *                       7 (for 7-digit program)
  83. GOTO END
  84.  
  85. :DONE
  86. CLS
  87. ECHO The %1-Digit program has been successfully deleted
  88. ECHO giving you more work space on your backup work disk!
  89.  
  90. :END
  91.